<?php
//调用文件上传面向对象类
require_once 'upload.class.php';
$upload = new Upload();
$dest = $upload->uploadFile();
var_dump($dest);